package com.ict.ais.targetLocation.service.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ict.ais.targetLocation.facade.dto.PgParams;
import com.ict.ais.targetLocation.facade.model.targetLocation;

import java.util.List;

/**
 * Created by chenlong on 2016/6/21.
 */
@Repository
public interface ItargetLocationDao {
    int countFuseMMSI(@Param("num") String num);
    int countFuseCallSign(@Param("num") String num);
    int countFuseID(@Param("num") String num);
    int countFuseShipName(@Param("num") String num);
    int countFuseIMO(@Param("num") String num);
    int countFuseAll(@Param("num") String num);

    int countOriginMMSI(@Param("num") String num);
    int countOriginCallSign(@Param("num") String num);
    int countOriginID(@Param("num") String num);
    int countOriginShipName(@Param("num") String num);
    int countOriginIMO(@Param("num") String num);
    int countOriginAll(@Param("num") String num);


    List<targetLocation> pageFuseMMSI(@Param("page") PgParams page);
    List<targetLocation> pageFuseCallSign(@Param("page") PgParams page);
    List<targetLocation> pageFuseID(@Param("page") PgParams page);
    List<targetLocation> pageFuseShipName(@Param("page") PgParams page);
    List<targetLocation> pageFuseIMO(@Param("page") PgParams page);
    List<targetLocation> pageFuseAll(@Param("page") PgParams page);

    List<targetLocation> pageOriginMMSI(@Param("page") PgParams page);
    List<targetLocation> pageOriginCallSign(@Param("page") PgParams page);
    List<targetLocation> pageOriginID(@Param("page") PgParams page);
    List<targetLocation> pageOriginShipName(@Param("page") PgParams page);
    List<targetLocation> pageOriginIMO(@Param("page") PgParams page);
    List<targetLocation> pageOriginAll(@Param("page") PgParams page);
}
